package com.tbm.prode.web;

import java.util.logging.Logger;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import ognl.OgnlRuntime;

public class TBMContextListener implements ServletContextListener {

	private static final Logger log = Logger.getLogger(TBMContextListener.class.getName());

	public void contextDestroyed(ServletContextEvent arg0) {
	}


	public void contextInitialized(ServletContextEvent arg0) {
		log.info("Setting Ognl SecurityManager to null");
		OgnlRuntime.setSecurityManager(null); 
	}

}
